package com.fuxian.util;

import java.util.HashMap;
import java.util.Map;

public class ReturnMapUtil {
	public static Map<String, Object> setReturnHeader(
			Map<String, Object> returnMap, Boolean status, String msg) {
		if (returnMap == null) {
			returnMap = new HashMap<String, Object>();
		}
		returnMap.put("status", status);
		returnMap.put("msg", msg);
		return returnMap;
	}
}
